using System;
using System.Text;
using NUnit.Framework;

namespace FrogsBrain.NStun.Test
{
    [TestFixture]
    public class NStunTests
    {
        public const string MagicCookie = "0x2112A442";

        [Test]
        public void TestConvertMagicCookieToBytes()
        {
            string actual = string.Format( "0x{0:x}", Convert.ToInt32( MagicCookie, 16 ) );
            Console.Out.WriteLine( actual );
            Assert.IsTrue( 0 == string.Compare( MagicCookie, actual, true ) );
            //byte[] magicBytes = Encoding.BigEndianUnicode.GetBytes( )
            
        }
    }
}